package com.dupf.product.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ProductSalePriceSettingExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public ProductSalePriceSettingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(Integer value) {
            addCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(Integer value) {
            addCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(Integer value) {
            addCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(Integer value) {
            addCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(Integer value) {
            addCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<Integer> values) {
            addCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<Integer> values) {
            addCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(Integer value1, Integer value2) {
            addCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(Integer value1, Integer value2) {
            addCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPriceCnIsNull() {
            addCriterion("price_cn is null");
            return (Criteria) this;
        }

        public Criteria andPriceCnIsNotNull() {
            addCriterion("price_cn is not null");
            return (Criteria) this;
        }

        public Criteria andPriceCnEqualTo(Float value) {
            addCriterion("price_cn =", value, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnNotEqualTo(Float value) {
            addCriterion("price_cn <>", value, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnGreaterThan(Float value) {
            addCriterion("price_cn >", value, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnGreaterThanOrEqualTo(Float value) {
            addCriterion("price_cn >=", value, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnLessThan(Float value) {
            addCriterion("price_cn <", value, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnLessThanOrEqualTo(Float value) {
            addCriterion("price_cn <=", value, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnIn(List<Float> values) {
            addCriterion("price_cn in", values, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnNotIn(List<Float> values) {
            addCriterion("price_cn not in", values, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnBetween(Float value1, Float value2) {
            addCriterion("price_cn between", value1, value2, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceCnNotBetween(Float value1, Float value2) {
            addCriterion("price_cn not between", value1, value2, "priceCn");
            return (Criteria) this;
        }

        public Criteria andPriceUsIsNull() {
            addCriterion("price_us is null");
            return (Criteria) this;
        }

        public Criteria andPriceUsIsNotNull() {
            addCriterion("price_us is not null");
            return (Criteria) this;
        }

        public Criteria andPriceUsEqualTo(Float value) {
            addCriterion("price_us =", value, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsNotEqualTo(Float value) {
            addCriterion("price_us <>", value, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsGreaterThan(Float value) {
            addCriterion("price_us >", value, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsGreaterThanOrEqualTo(Float value) {
            addCriterion("price_us >=", value, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsLessThan(Float value) {
            addCriterion("price_us <", value, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsLessThanOrEqualTo(Float value) {
            addCriterion("price_us <=", value, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsIn(List<Float> values) {
            addCriterion("price_us in", values, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsNotIn(List<Float> values) {
            addCriterion("price_us not in", values, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsBetween(Float value1, Float value2) {
            addCriterion("price_us between", value1, value2, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceUsNotBetween(Float value1, Float value2) {
            addCriterion("price_us not between", value1, value2, "priceUs");
            return (Criteria) this;
        }

        public Criteria andPriceCaIsNull() {
            addCriterion("price_ca is null");
            return (Criteria) this;
        }

        public Criteria andPriceCaIsNotNull() {
            addCriterion("price_ca is not null");
            return (Criteria) this;
        }

        public Criteria andPriceCaEqualTo(Float value) {
            addCriterion("price_ca =", value, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaNotEqualTo(Float value) {
            addCriterion("price_ca <>", value, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaGreaterThan(Float value) {
            addCriterion("price_ca >", value, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaGreaterThanOrEqualTo(Float value) {
            addCriterion("price_ca >=", value, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaLessThan(Float value) {
            addCriterion("price_ca <", value, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaLessThanOrEqualTo(Float value) {
            addCriterion("price_ca <=", value, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaIn(List<Float> values) {
            addCriterion("price_ca in", values, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaNotIn(List<Float> values) {
            addCriterion("price_ca not in", values, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaBetween(Float value1, Float value2) {
            addCriterion("price_ca between", value1, value2, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceCaNotBetween(Float value1, Float value2) {
            addCriterion("price_ca not between", value1, value2, "priceCa");
            return (Criteria) this;
        }

        public Criteria andPriceUkIsNull() {
            addCriterion("price_uk is null");
            return (Criteria) this;
        }

        public Criteria andPriceUkIsNotNull() {
            addCriterion("price_uk is not null");
            return (Criteria) this;
        }

        public Criteria andPriceUkEqualTo(Float value) {
            addCriterion("price_uk =", value, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkNotEqualTo(Float value) {
            addCriterion("price_uk <>", value, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkGreaterThan(Float value) {
            addCriterion("price_uk >", value, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkGreaterThanOrEqualTo(Float value) {
            addCriterion("price_uk >=", value, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkLessThan(Float value) {
            addCriterion("price_uk <", value, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkLessThanOrEqualTo(Float value) {
            addCriterion("price_uk <=", value, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkIn(List<Float> values) {
            addCriterion("price_uk in", values, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkNotIn(List<Float> values) {
            addCriterion("price_uk not in", values, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkBetween(Float value1, Float value2) {
            addCriterion("price_uk between", value1, value2, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceUkNotBetween(Float value1, Float value2) {
            addCriterion("price_uk not between", value1, value2, "priceUk");
            return (Criteria) this;
        }

        public Criteria andPriceDeIsNull() {
            addCriterion("price_de is null");
            return (Criteria) this;
        }

        public Criteria andPriceDeIsNotNull() {
            addCriterion("price_de is not null");
            return (Criteria) this;
        }

        public Criteria andPriceDeEqualTo(Float value) {
            addCriterion("price_de =", value, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeNotEqualTo(Float value) {
            addCriterion("price_de <>", value, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeGreaterThan(Float value) {
            addCriterion("price_de >", value, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeGreaterThanOrEqualTo(Float value) {
            addCriterion("price_de >=", value, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeLessThan(Float value) {
            addCriterion("price_de <", value, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeLessThanOrEqualTo(Float value) {
            addCriterion("price_de <=", value, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeIn(List<Float> values) {
            addCriterion("price_de in", values, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeNotIn(List<Float> values) {
            addCriterion("price_de not in", values, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeBetween(Float value1, Float value2) {
            addCriterion("price_de between", value1, value2, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceDeNotBetween(Float value1, Float value2) {
            addCriterion("price_de not between", value1, value2, "priceDe");
            return (Criteria) this;
        }

        public Criteria andPriceEsIsNull() {
            addCriterion("price_es is null");
            return (Criteria) this;
        }

        public Criteria andPriceEsIsNotNull() {
            addCriterion("price_es is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEsEqualTo(Float value) {
            addCriterion("price_es =", value, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsNotEqualTo(Float value) {
            addCriterion("price_es <>", value, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsGreaterThan(Float value) {
            addCriterion("price_es >", value, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsGreaterThanOrEqualTo(Float value) {
            addCriterion("price_es >=", value, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsLessThan(Float value) {
            addCriterion("price_es <", value, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsLessThanOrEqualTo(Float value) {
            addCriterion("price_es <=", value, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsIn(List<Float> values) {
            addCriterion("price_es in", values, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsNotIn(List<Float> values) {
            addCriterion("price_es not in", values, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsBetween(Float value1, Float value2) {
            addCriterion("price_es between", value1, value2, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceEsNotBetween(Float value1, Float value2) {
            addCriterion("price_es not between", value1, value2, "priceEs");
            return (Criteria) this;
        }

        public Criteria andPriceItIsNull() {
            addCriterion("price_it is null");
            return (Criteria) this;
        }

        public Criteria andPriceItIsNotNull() {
            addCriterion("price_it is not null");
            return (Criteria) this;
        }

        public Criteria andPriceItEqualTo(Float value) {
            addCriterion("price_it =", value, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItNotEqualTo(Float value) {
            addCriterion("price_it <>", value, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItGreaterThan(Float value) {
            addCriterion("price_it >", value, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItGreaterThanOrEqualTo(Float value) {
            addCriterion("price_it >=", value, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItLessThan(Float value) {
            addCriterion("price_it <", value, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItLessThanOrEqualTo(Float value) {
            addCriterion("price_it <=", value, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItIn(List<Float> values) {
            addCriterion("price_it in", values, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItNotIn(List<Float> values) {
            addCriterion("price_it not in", values, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItBetween(Float value1, Float value2) {
            addCriterion("price_it between", value1, value2, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceItNotBetween(Float value1, Float value2) {
            addCriterion("price_it not between", value1, value2, "priceIt");
            return (Criteria) this;
        }

        public Criteria andPriceFrIsNull() {
            addCriterion("price_fr is null");
            return (Criteria) this;
        }

        public Criteria andPriceFrIsNotNull() {
            addCriterion("price_fr is not null");
            return (Criteria) this;
        }

        public Criteria andPriceFrEqualTo(Float value) {
            addCriterion("price_fr =", value, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrNotEqualTo(Float value) {
            addCriterion("price_fr <>", value, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrGreaterThan(Float value) {
            addCriterion("price_fr >", value, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrGreaterThanOrEqualTo(Float value) {
            addCriterion("price_fr >=", value, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrLessThan(Float value) {
            addCriterion("price_fr <", value, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrLessThanOrEqualTo(Float value) {
            addCriterion("price_fr <=", value, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrIn(List<Float> values) {
            addCriterion("price_fr in", values, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrNotIn(List<Float> values) {
            addCriterion("price_fr not in", values, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrBetween(Float value1, Float value2) {
            addCriterion("price_fr between", value1, value2, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceFrNotBetween(Float value1, Float value2) {
            addCriterion("price_fr not between", value1, value2, "priceFr");
            return (Criteria) this;
        }

        public Criteria andPriceMxIsNull() {
            addCriterion("price_mx is null");
            return (Criteria) this;
        }

        public Criteria andPriceMxIsNotNull() {
            addCriterion("price_mx is not null");
            return (Criteria) this;
        }

        public Criteria andPriceMxEqualTo(Float value) {
            addCriterion("price_mx =", value, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxNotEqualTo(Float value) {
            addCriterion("price_mx <>", value, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxGreaterThan(Float value) {
            addCriterion("price_mx >", value, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxGreaterThanOrEqualTo(Float value) {
            addCriterion("price_mx >=", value, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxLessThan(Float value) {
            addCriterion("price_mx <", value, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxLessThanOrEqualTo(Float value) {
            addCriterion("price_mx <=", value, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxIn(List<Float> values) {
            addCriterion("price_mx in", values, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxNotIn(List<Float> values) {
            addCriterion("price_mx not in", values, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxBetween(Float value1, Float value2) {
            addCriterion("price_mx between", value1, value2, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceMxNotBetween(Float value1, Float value2) {
            addCriterion("price_mx not between", value1, value2, "priceMx");
            return (Criteria) this;
        }

        public Criteria andPriceJpIsNull() {
            addCriterion("price_jp is null");
            return (Criteria) this;
        }

        public Criteria andPriceJpIsNotNull() {
            addCriterion("price_jp is not null");
            return (Criteria) this;
        }

        public Criteria andPriceJpEqualTo(Float value) {
            addCriterion("price_jp =", value, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpNotEqualTo(Float value) {
            addCriterion("price_jp <>", value, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpGreaterThan(Float value) {
            addCriterion("price_jp >", value, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpGreaterThanOrEqualTo(Float value) {
            addCriterion("price_jp >=", value, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpLessThan(Float value) {
            addCriterion("price_jp <", value, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpLessThanOrEqualTo(Float value) {
            addCriterion("price_jp <=", value, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpIn(List<Float> values) {
            addCriterion("price_jp in", values, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpNotIn(List<Float> values) {
            addCriterion("price_jp not in", values, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpBetween(Float value1, Float value2) {
            addCriterion("price_jp between", value1, value2, "priceJp");
            return (Criteria) this;
        }

        public Criteria andPriceJpNotBetween(Float value1, Float value2) {
            addCriterion("price_jp not between", value1, value2, "priceJp");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNull() {
            addCriterion("ctime is null");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNotNull() {
            addCriterion("ctime is not null");
            return (Criteria) this;
        }

        public Criteria andCtimeEqualTo(Long value) {
            addCriterion("ctime =", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotEqualTo(Long value) {
            addCriterion("ctime <>", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThan(Long value) {
            addCriterion("ctime >", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThanOrEqualTo(Long value) {
            addCriterion("ctime >=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThan(Long value) {
            addCriterion("ctime <", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThanOrEqualTo(Long value) {
            addCriterion("ctime <=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeIn(List<Long> values) {
            addCriterion("ctime in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotIn(List<Long> values) {
            addCriterion("ctime not in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeBetween(Long value1, Long value2) {
            addCriterion("ctime between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotBetween(Long value1, Long value2) {
            addCriterion("ctime not between", value1, value2, "ctime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}